package com.atguigu.auth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 家庭信息表
 * </p>
 *
 * @author universe
 * @since 2024-03-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Family implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 家庭id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 家庭名称
     */
    private String familyName;

    /**
     * 地点
     */
    private String site;

}
